Agentic UI: fix copy button space in chat - #4334
Conversation
📊 Performance Test ResultsComparing f7c98b5 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
|
Great catch @bcotrim, thanks. |
bcotrim
left a comment
There was a problem hiding this comment.
The spacing looks better now, thanks for the adjustment!
It seems we offer the copy option after each "text section" which I think it's too much.
I would say 1 copy after the last agent reply plus another for some particular sections (for example code) would be enough, in my opinion, and it would fix the spacing issue.
Example:
…over space Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Follow up, introducing a right-click menu for copying messages as well: #4388 |
|
I like this direction 👍 |







Related issues
How AI was used in this PR
AI assisted with the fix, I reviewed and tested
Proposed Changes
We have a huge space after messages in chat due to the hidden Copy button. This PR fixes it to have a rational space
Testing Instructions